<%@ page language="java" import="java.util.*" pageEncoding="ISO-8859-1"%>
<%@taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://sourceforge.net/projects/jsf-comp" prefix="c" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html class="dj_gecko" xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'Dojo.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<link href="nihilo.css" rel="stylesheet" type="text/css">
	<link href="dojo.css" rel="stylesheet" type="text/css">
	<link href="layout.css" rel="stylesheet" type="text/css">
	<link href="extra.css" rel="stylesheet" type="text/css">
	
	<style type="text/css">
		@import "/dojotoolkit/dojox/highlight/resources/highlight.css";
		@import "/dojotoolkit/dojox/highlight/resources/pygments/default.css";
		@import "/dojotoolkit/dojo/resources/dojo.css";	
		@import "/dojotoolkit/dojoc/sandbox/menu/resources/AccordionMenu.css";	
		@import "/dojotoolkit/dojoc/sandbox/rounded/resources/Rounded.css";	
		@import "/css/layout.css";	
		@import "/explorer/css/layout.css";	
	</style>
	<style type="text/css">
		@import "/dojotoolkit/dojox/grid/_grid/Grid.css";
		@import "/dojotoolkit/dojox/grid/_grid/nihiloGrid.css";
	</style>
	
	<script type="text/javascript" src="dojo.js" djconfig="isDebug: false, parseOnLoad: true, dojoIframeHistoryUrl:'/dojotoolkit/dojo/resources/iframe_history.html'"></script>
	<script type="text/javascript" charset="utf-8" src="layer.js"></script>  
	<script type="text/javascript" charset="utf-8" src="featureexplorer.js"></script>
	<script type="text/javascript" src="dga.js"></script>

<script src="ga.js"></script></head><body class="nihilo">

<script type="text/javascript">dojo.back.init();</script><iframe style="border: 0pt none ; width: 1px; height: 1px; position: absolute; visibility: hidden; bottom: 0pt; right: 0pt;" name="dj_history" id="dj_history" src="iframe_history.htm"></iframe>
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
	<script language="javascript" type="text/javascript"  src="dojo.js"></script>
<script type="text/javascript" charset="utf-8" src="layer.js"></script>
<script type="text/javascript" charset="utf-8" src="featureexplorer.js"></script>
	<script type="text/javascript" src="dga.js"></script>
	
  

		<script type="text/javascript">
  dojo.require("dijit.Dialog");
  dojo.require("dijit.form.TextBox");
  dojo.require("dijit.form.TimeTextBox");
  dojo.require("dijit.form.Button");
  dojo.require("dijit.form.DateTextBox");
</script>

<button dojoType="dijit.form.Button" onclick="dijit.byId('dialog1').show()">Show Dialog</button>

<div dojoType="dijit.Dialog" id="dialog1" title="First Dialog"
    execute="alert('submitted w/args:\n' + dojo.toJson(arguments[0], true));">
  <table>
    <tr>
      <td><label for="name">Name: </label></td>
      <td><input dojoType="dijit.form.TextBox" type="text" name="name" id="name"></td>
    </tr>
    <tr>
      <td><label for="loc">Location: </label></td>
      <td><input dojoType="dijit.form.TextBox" type="text" name="loc" id="loc"></td>
    </tr>
    <tr>
      <td><label for="date">Date: </label></td>
      <td><input dojoType="dijit.form.DateTextBox" type="text" name="date" id="date"></td>
    </tr>
    <tr>
      <td><label for="date">Time: </label></td>
      <td><input dojoType="dijit.form.TimeTextBox" type="text" name="time" id="time"></td>
    </tr>
    <tr>
      <td><label for="desc">Description: </label></td>
      <td><input dojoType="dijit.form.TextBox" type="text" name="desc" id="desc"></td>
    </tr>
    <tr>
      <td colspan="2" align="center">
        <button dojoType="dijit.form.Button" type="submit">OK</button></td>
    </tr>
  </table>
</div>
  </body>
</html>
